<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
</head>
<body>
<%
	request.setCharacterEncoding("utf-8");

	String name=request.getParameter("name");
	String pwd=request.getParameter("pwd");
%>
账号：<%=name %><br>
密码：<%=pwd %><br>
使用的协议:<%=request.getProtocol()%><br>
请求的URI:<%=request.getServletPath() %><br>
请求方法:<%=request.getMethod() %><br>
远程地址:<%=request.getRemoteAddr() %><br>
</body>
</html>